package com.smarthealthcare.system.domain;

import java.util.Date;
import com.smarthealthcare.domain.Doctor;
import com.smarthealthcare.domain.Register;
import com.smarthealthcare.project.domain.Project;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;

/**
 * 患者列表对象 patient
 * 
 * @author YF
 * @date 2024-11-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Patient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** pk */
    private Long id;

    /** 关联状态 */
    @Excel(name = "关联状态")
    private String state;

    /** 患者id 外键关联患者 */
    @Excel(name = "患者id 外键关联患者")
    private Long registerId;

    /** 关联医生id外键关联医生 */
    @Excel(name = "关联医生id外键关联医生")
    private Long doctorId;

    /** 检查项目id外键关联检查项目 */
    @Excel(name = "检查项目id外键关联检查项目")
    private Long projectId;

    /** 关联时间 */
    private Date time;

    /** 逻辑删除 */
    private Long del;

    private Register register;
    private Project project;
    private Doctor doctor;
}
